package com.onec.service.customer.service;

import com.onec.service.api.dto.request.gateway.BizContent;
import com.onec.service.customer.entity.merchant.MerchantBusiness;
import com.onec.service.customer.entity.merchant.MerchantInfo;

/**
 * 商户业务类：配置：费率等信息
 *
 * @author onec
 */
public interface MerchantBusinessService {

    /**
     * @param merchantId
     * @param businessNo
     * @return
     */
    MerchantBusiness findByMerchantIdBusinessNo(long merchantId, String businessNo);

    /**
     * @param bizContent
     * @param merchantInfo
     * @return
     */
    MerchantBusiness createMerchantBusiness(BizContent bizContent, MerchantInfo merchantInfo);


}
